﻿<wcContainers:Container x:Class="Net.Chirash.Twitter.TweetZone.WindowComponents.Containers.TwitterListsContainer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:wc="clr-namespace:Net.Chirash.Twitter.TweetZone.WindowComponents"
             xmlns:wcContainers="clr-namespace:Net.Chirash.Twitter.TweetZone.WindowComponents.Containers"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <ListBox ItemsSource="{Binding Collection}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Expander Header="{Binding FullName}" IsExpanded="True">
                        <StackPanel>
                            <TextBlock Text="{Binding Description}" />
                            <StackPanel Orientation="Horizontal" >
                                <TextBlock Text="Subscribers: "/>
                                <TextBlock Text="{Binding SubscriberCount}" />
                            </StackPanel>
                            <StackPanel Orientation="Horizontal" >
                                <TextBlock Text="Members: " />
                                <TextBlock Text="{Binding MemberCount}" />
                            </StackPanel>
                        </StackPanel>
                    </Expander>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
    </Grid>
</wcContainers:Container>
